package com.ruoyi.system.domain.bo;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Data;

import java.util.List;

@JacksonXmlRootElement(localName = "TREE_NODE")
@Data
public class FileNode {
    @JacksonXmlProperty(localName = "FILE_NO")
    private String fileNo;

    @JacksonXmlProperty(localName = "FILE_SUFFIX")
    private String fileSuffix;

    @JacksonXmlProperty(localName = "CJ_TYPE")
    private String cjType;

    @JacksonXmlProperty(localName = "MODEL_NAME")
    private String modelName;

    @JacksonXmlProperty(localName = "IS_MERGER")
    private String isMerger;

    @JacksonXmlProperty(localName = "IS_CODEBAR")
    private String isCodebar;

    @JacksonXmlProperty(localName = "DOC_TYPE")
    private String docType;

    @JacksonXmlProperty(localName = "RULE_TYPE")
    private String ruleType;

    @JacksonXmlProperty(localName = "BLOCK_CODE")
    private String blockCode;

    @JacksonXmlProperty(localName = "RULE_LIST")
    private RuleNodeList ruleNodeList;

    @JacksonXmlProperty(localName = "RET_FILE_TYPE")
    private String retFileType;

    public FileNode(String fileNo, String fileSuffix, String cjType, String modelName, String isMerger, String isCodebar, String docType, String ruleType, String blockCode, RuleNodeList ruleNodeNewList, String retFileType) {
        this.fileNo = fileNo;
        this.fileSuffix = fileSuffix;
        this.cjType = cjType;
        this.modelName = modelName;
        this.isMerger = isMerger;
        this.isCodebar = isCodebar;
        this.docType = docType;
        this.ruleType = ruleType;
        this.blockCode = blockCode;
        this.ruleNodeList = ruleNodeNewList;
        this.retFileType = retFileType;
    }
}
